#include "math.h"

unsigned int pow(unsigned int base, unsigned int power)
{
	if(power==0)
	{
		return 1;
	}
	
	while(power > 1)
	{
		base *= base;
		power--;
	}
	
	return base;
}